package com.glls.lambda.demo1;

import com.glls.lambda.pojo.Student;

/**
 * @date 2022/10/3
 * @desc
 */
public class AgeFilterRule implements FilterRule<Student>{
    @Override
    public boolean filter(Student student) {
        return student.getAge()>20;
    }
}
